using MediatR;
using S.M.SmartMedical.ErrorCode;

namespace S.M.SmartMedical.API.Write.Application.Command
{
    /// <summary>
    /// 批量删除医院命令对象
    /// 用于处理医院批量删除请求
    /// </summary>
    public class BatchDeleteHospitalsCommand : IRequest<APIResult<bool>>
    {
        /// <summary>
        /// 医院ID列表
        /// </summary>
        public List<int> Ids { get; set; } = new List<int>();

        /// <summary>
        /// 构造函数
        /// </summary>
        public BatchDeleteHospitalsCommand()
        {
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="ids">医院ID列表</param>
        public BatchDeleteHospitalsCommand(List<int> ids)
        {
            Ids = ids;
        }
    }
}